package com.zhb.cloud.kafka.model;

import java.io.Serializable;
import javax.persistence.*;

import lombok.Data;

import java.sql.Timestamp;

/**
 * @ClassName: User
 * @author: zhb
 * @date: 2017年8月30日 下午1:15:44
 * @Description: 用户表
 *
 */
@Entity
@Table(name = "s_user")
@Data
public class User implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String address;

	private byte age;

	@Column(name = "create_time")
	private Timestamp createTime;

	private String email;

	private byte gender;

	@Column(name = "mobile_phone")
	private String mobilePhone;

	private String password;

	private String phone;

	private String phote;

	@Column(name = "real_name")
	private String realName;

	@Column(name = "update_time")
	private Timestamp updateTime;

	@Column(name = "user_name")
	private String userName;

}